﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MostView.ascx.cs" Inherits="ElectronicSelling.UserControl.MostView" %>
<div class="block_content">
    <div class="block_title">
        <div class="lblock"></div>
        <div class="cblock">
            <h3>Xem nhiều nhất</h3>
        </div>
        <div class="c2block"></div>
        <div class="rblock"></div>
        <div class="clear"></div>
    </div>
    <div class="block_list">
        <asp:Repeater ID="rptMostViewed" runat="server">
            <ItemTemplate>
                <div class="block_item">
                    <div class="block_img">
                        <a href="DetailProduct.aspx?sid=<%#Eval("SectionId") %>&cid=<%#Eval("CategoryId") %>&pid=<%#Eval("ProductId") %>">
                            <img src="Images/loa.jpg" alt="" />
                        </a>
                    </div>
                    <div class="block_title_item">
                        <a href="DetailProduct.aspx?sid=<%#Eval("SectionId") %>&cid=<%#Eval("CategoryId") %>&pid=<%#Eval("ProductId") %>">
                            <%#Eval("Name") %>
                        </a>
                    </div>
                    <div class="old_price"><%#Eval("OldPrice", "{0:0,0}") %></div>
                    <div class="price"><%#Eval("CurrentPrice", "{0:0,0}") %> đ</div>
                    <span>
                        <img src="Images/rate.png" />
                    </span>
                    <a href="DetailProduct.aspx?sid=<%#Eval("SectionId") %>&cid=<%#Eval("CategoryId") %>&pid=<%#Eval("ProductId") %>">
                        <div class="button_buy"><% Response.Write(ElectronicSelling.Utilities.ConstantDefault.Order); %></div>
                    </a>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div class="advertise_right">
        <img src="Images/07.jpg" alt="" />
    </div>
    <div class="advertise_right">
        <img src="Images/07.jpg" alt="" />
    </div>
    <div class="clear"></div>
</div>
